﻿using MediatR;
using RBAC.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace RBAC.Write.Api.Application.Command.ERP.SalesManagement
{
    /// <summary>
    /// 删除销售订单命令
    /// </summary>
    public class DeleteSalesOrderCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 销售订单ID
        /// </summary>
        [Required(ErrorMessage = "销售订单ID不能为空")]
        public long Id { get; set; }
    }
}
